/*
package com.educal;

import javax.persistence.Entity;
import javax.persistence.Id;

*/
/**
 * Created by miyang on 2017/11/23.
 *//*

@Entity
public class User {
    @Id
    private String userid;
    private String userpassword;
    private Integer userauth;//用户权限判断 1管理员 2教师 3学生

    public User() {
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getUserpassword() {
        return userpassword;
    }

    public void setUserpassword(String userpassword) {
        this.userpassword = userpassword;
    }

    public Integer getUserauth() {
        return userauth;
    }

    public void setUserauth(Integer userauth) {
        this.userauth = userauth;
    }
}
*/
